// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import 'babel-polyfill'
import FastClick from 'fastclick'
import  axios from 'axios'
import VueLazyload from 'vue-lazyload'
import Element from 'element-ui';
Vue.use(Element, { size: 'small', zIndex: 3000 });
FastClick.attach(document.body)
Vue.config.productionTip = false
Vue.prototype.$http = axios
Vue.use(VueLazyload,{
  loading:require('@/common/image/default.png')
})


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',
  render: h=>h(App)
})
